package com.aps.entity.domain.schedule;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.aps.entity.domain.BaseEntity;
import com.aps.entity.eunm.TimeUnitType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liaoguangan
 * @description <排程配置>
 * @date 2018/4/1 15:17
 */

@Table(name = "aps_schedule_config")
@Entity
@Data
@ApiModel
public class ScheduleConfig extends BaseEntity {

    @Column
    @ApiModelProperty("间隔时间")
    private BigDecimal intervalTime;

    @Column
    @ApiModelProperty("间隔时间单位")
    private TimeUnitType intervalUnit;

    @Column
    @ApiModelProperty("数量阈值")
    private Integer maxValue;

}
